/**
 *Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.baseConfig.bean;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author qingfeng
 * @description: TODO
 * @date 2020/4/20 9:45
 */
public class RoleLineTeamBean {

    private String id;

    private String roleLineId;

    @NotNull(message = "团队信息不能为空")
    private String account;

    @NotNull(message = "团队信息不能为空")
    private String type;

    private String name;

    private List<RoleLineTeamUserBean> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleLineId() {
        return roleLineId;
    }

    public void setRoleLineId(String roleLineId) {
        this.roleLineId = roleLineId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<RoleLineTeamUserBean> getChildren() {
        return children;
    }

    public void setChildren(List<RoleLineTeamUserBean> children) {
        this.children = children;
    }
}
